package com.cskaoyan.service.user;

import com.cskaoyan.bean.bo.UserListBo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.common.User;
import com.cskaoyan.bean.po.MarketUser;

/**
 * @author jzp
 * @since 2022/11/19 19:25
 */
public interface UserManageService {
    /**
    * 描述: 用户信息和查找
    * @param userListBo:
    * @return com.cskaoyan.bean.common.CommonData<com.cskaoyan.bean.po.MarketUser>:
    */

    CommonData<MarketUser> list(UserListBo userListBo);

    /**
    * 描述: 用户查找的时候，根据用户id查找
    * @param user:
    * @return com.cskaoyan.bean.common.CommonData<com.cskaoyan.bean.po.MarketUser>:
    */
    MarketUser detail(User user);

    /**
    * 描述: 更新用户信息
    * @param marketUser:
    * @return com.cskaoyan.bean.po.MarketUser:
    */
    boolean update(MarketUser marketUser);
}
